package com.two.service.permission.mapper;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.two.common.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 汪瑞明
 * @since 2022-08-29
 */
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {
    List<Permission> selectPermissionByUserid(Integer userid);

    List<Permission> selectLeftPermission(Integer userid);
}
